package com.mohe.shanpao.service.user.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mohe.shanpao.dao.user.SysMenuMapper;
import com.mohe.shanpao.domain.user.SysMenu;
import com.mohe.shanpao.service.GenericServiceImpl;
import com.mohe.shanpao.service.user.SysMenuService;

@Service("sysMenuService")
@Transactional
public class SysMenuServiceImpl extends GenericServiceImpl<SysMenu> implements SysMenuService
{
    
    @Autowired
    private SysMenuMapper sysMenuMapper;
    
    @Override
    public SysMenu selectById(Long id)
    {
        return (SysMenu)sysMenuMapper.selectByPrimaryKey(id);
    }

}
